package com.bis.ymyy.mapper;

import com.bis.ymyy.common.utils.AddUserInfo;
import com.bis.ymyy.entity.User;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserMapper {
    List<User> getAllUser();
    User findUserById(int userId);
    User findUserByName(String userName);
    int addUser(String userName, String password);
    int deleteUserById(int userId);
    int updateUser(User user);
    boolean addBaseUser(AddUserInfo userInfo);
}
